<f:layout name="Default.html" /> 
<f:section name="Content">
<ul class="ul_mainmenu">
	<li><f:link.action controller="Standard" action="index">Start</f:link.action></li>
    <li><f:link.action controller="Login" action="index">Login</f:link.action></li>
</ul>    
<f:flashMessages />
<f:security.ifHasRole role="<f:security.ifHasRole role="Editor">">
    <f:then>
        <f:link.action action="logout" controller="Login">Logout</f:link.action>
    </f:then>
    <f:else>
        <f:form action="authenticate" method="post" name="loginform">
            <label>User:</label><f:form.textfield name="TYPO3[FLOW3][Security][Authentication][Token][UsernamePassword][username]" /><br />
            <label>Pass:</label><f:form.password name="TYPO3[FLOW3][Security][Authentication][Token][UsernamePassword][password]" /><br />
            <f:form.submit value="Login" />
        </f:form>
        <br />
        Not yet an account? <f:link.action action="register" controller="Login">Register here!!</f:link.action>
    </f:else>
</f:security.ifHasRole>
</f:section>